package utils

type S struct {
	Sno string			`gorm:"s:sno"`
	Sname string		`gorm:"s:sname"`
	Ssex string			`gorm:"s:ssex"`
	Sage int			`gorm:"s:sage"`
	Snation string		`gorm:"s:snation"`
	Slocation string	`gorm:"s:slocation"`
	Sacademic string	`gorm:"s:sacademic"`
	Smajor string		`gorm:"s:smajor"`
	Spolitic string		`gorm:"s:spolitic"`
	Srecord string		`gorm:"s:srecord"`
	Smark string		`gorm:"s:smark"`
}

type C struct {
	Cno string			`gorm:"c:cno"`
	Cname string		`gorm:"c:cname"`
	Cgrade int			`gorm:"c:cgrade"`
	Cterm int			`gorm:"c:cterm"`
	Cmajor string		`gorm:"c:cmajor"`
}

type SC struct {
	Sno string			`gorm:"sc:sno"`
	Cno string			`gorm:"sc:cno"`
	Score int			`gorm:"sc:score"`
}

type StudentScore struct {
	Sno   string		`gorm:"studentscore:sno"`
	Cno   string		`gorm:"studentscore:cno"`
	Cname string		`gorm:"studentscore:cname"`
	Score int			`gorm:"studentscore:score"`
}

type AgeSta struct {
	Sage int			`gorm:"agesta:sage"`
	Count int			`gorm:"agesta:count"`
}

type PolSta struct {
	Spolitic string		`gorm:"polsta:spolitic"`
	Count int			`gorm:"polsta:count"`
}

type LocSta struct {
	Slocation string	`gorm:"locsta:slocation"`
	Count int			`gorm:"locsta:count"`
}

type ScoreSta struct {
	Smajor string		`gorm:"scoresta:smajor"`
	Cgrade string		`gorm:"scoresta:cgrade"`
	Cterm string		`gorm:"scoresta:cterm"`
	Count int			`gorm:"scoresta:count"`
}

type ScoreFinal struct {
	DataA string
	DataB  string
	DataC  string
	DataD  string
	DataE  string
}